agents
Class ABMPExactAgent

java.lang.Object
  extended by negotiator.Agent
      extended by agents.ABMPExactAgent

public class ABMPExactAgent
extends Agent

Author:
Dmytro Tykhonov & Koen Hindriks

Field Summary
 
Fields inherited from class negotiator.Agent
fNegotiation, parametervalues, sessionNr, sessionsTotal, startTime, strategyParameters, timeline, totalTime, utilitySpace
 
Constructor Summary
ABMPExactAgent()
           
 
Method Summary
 Action chooseAction()
          this function is called after ReceiveMessage, with an Offer-action.
protected  void init(int sessionNumber, int sessionTotalNumber)
           
 void ReceiveMessage(Action opponentAction)
          informs you which action the opponent did
 
Methods inherited from class negotiator.Agent
endSession, getAgentID, getName, getParameterValues, getSessionNumber, getSessionsTotal, getStrategyParameters, getUniqueIdentifier, getUtility, getVersion, init, internalInit, isUIAgent, loadSessionData, parseStrategyParameters, restartDataObjectsFolder, saveSessionData, setAgentID, setName, sleep
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

ABMPExactAgent

public ABMPExactAgent()
Method Detail

init

protected void init(int sessionNumber,
                    int sessionTotalNumber)

ReceiveMessage

public void ReceiveMessage(Action opponentAction)
Description copied from class: Agent
informs you which action the opponent did

Overrides:
ReceiveMessage in class Agent

chooseAction

public Action chooseAction()
Description copied from class: Agent
this function is called after ReceiveMessage, with an Offer-action.

Specified by:
chooseAction in class Agent
Returns:
(should return) the bid-action the agent wants to make.